unsupportedoperation exception while using map in java